
interface i_list{
    username:string;
    say:(username:string)=>void;
} 

let newlist={
    username:"string",
    age:18,     // 这是个原来没有定义的类型
    say:(username:string)=>{
        console.log(username);   
    }
};

let list:i_list=newlist

console.log(list);


export {}